package com.ryan.mms.position.service;

import java.io.Serializable;
import java.util.List;

import org.springframework.transaction.annotation.Transactional;

import com.ryan.framework.dto.Dto;
import com.ryan.framework.model.Model;
import com.ryan.framework.service.BaseService;
import com.ryan.framework.tag.pagination.Page;
import com.ryan.mms.position.dto.PositionDto;
import com.ryan.mms.position.model.Position;

@Transactional
public interface PositionService<T extends Dto,M extends Model,PK extends Serializable> extends BaseService<PositionDto,Position,Long>{
	public void deleteAll(List<PK> pks);
	public List<PositionDto> find(Page page,PositionDto positionDto);
}
